'use strict';
const routes = require('koa-router')();
module.exports = app => {
  require('./routes/api')(routes, app);
  app.use(routes.routes()).use(routes.allowedMethods());
};
